package com.leadingsoft.pwxk.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.leadingsoft.pwxk.dto.AirPollutionNoOrgDto;
import com.leadingsoft.pwxk.service.AirPollutionNoOrgService;

/**
 * @author: lipan 2018年5月17日
 * @description: ( 大气污染 -有组织排放信息 )
 * 
 */
@RestController
@RequestMapping("api/aironorg")
public class AirPollutionNoOrgController {

	@Autowired
	private AirPollutionNoOrgService airPollutionNoOrgService;

	@GetMapping("/{dataid}")
	AirPollutionNoOrgDto get(@PathVariable(value = "dataid") String dataid) {
		return airPollutionNoOrgService.get(dataid);
	}

}
